
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.FodderStorage;
import cn.edu.scau.cmi.hombio.domain.FodderType;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for FodderStorage entities
 * 
 */
public interface FodderStorageService {

	/**
	* Return all FodderStorage entity
	* 
	 */
	public List<FodderStorage> findAllFodderStorages(Integer startResult, Integer maxRows);

	/**
	* Delete an existing Employee entity
	* 
	 */
	public FodderStorage deleteFodderStorageEmployee(Integer fodderstorage_id, Integer related_employee_id);

	/**
	* Save an existing Employee entity
	* 
	 */
	public FodderStorage saveFodderStorageEmployee(Integer id, Employee related_employee);

	/**
	* Save an existing FodderType entity
	* 
	 */
	public FodderStorage saveFodderStorageFodderType(Integer id_1, FodderType related_foddertype);

	/**
	 */
	public FodderStorage findFodderStorageByPrimaryKey(Integer id_2);

	/**
	* Delete an existing FodderStorage entity
	* 
	 */
	public void deleteFodderStorage(FodderStorage fodderstorage);

	/**
	* Delete an existing FodderType entity
	* 
	 */
	public FodderStorage deleteFodderStorageFodderType(Integer fodderstorage_id_1, Integer related_foddertype_id);

	/**
	* Return a count of all FodderStorage entity
	* 
	 */
	public Integer countFodderStorages();

	/**
	* Load an existing FodderStorage entity
	* 
	 */
	public Set<FodderStorage> loadFodderStorages();

	/**
	* Save an existing FodderStorage entity
	* 
	 */
	public void saveFodderStorage(FodderStorage fodderstorage_1);
}